package com.parenting.service;

import com.parenting.entities.CouponUsageRecordDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.parenting.request.wechat.WechatRecordRequest;
import com.parenting.response.wechat.CouponUsageRecord;
import com.parenting.response.wechat.WechatDateRecordResponse;

import java.util.List;

/**
 * <p>
 * 优惠券使用记录表 服务类
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-27
 */
public interface CouponUsageRecordService extends IService<CouponUsageRecordDO> {
   /***
    *
    * @param wechatRecordRequest 查询 条件
    * @param shopId  当前登录账号的店铺ID
    * @return
    */
   List<WechatDateRecordResponse> consumptionRecordList(WechatRecordRequest wechatRecordRequest ,String shopId);

   CouponUsageRecord getCouponUsageRecord(String usageRecordId);
}
